package com.aaa.sls;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @ fileName:MarketApp
 * @ description:
 * @ author:zhz
 * @ createTime:2021/1/14 11:00
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.aaa.sls.dao")
@EnableTransactionManagement
@EnableCircuitBreaker  //开启断路器功能
public class MarketApp {
    public static void main(String[] args) {
        SpringApplication.run(MarketApp.class,args);
    }
}
